execute if score $sire_language sireconfig matches 1 run tellraw @a [{"text":"火药配方","hoverEvent":{"action":"show_text","value":"sire_gunpowder"}}]
execute if score $sire_language sireconfig matches 1 if score $sire_gunpowder sireconfig matches 1 run tellraw @a [{"text":"\u00A7a[开]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/gunpowder0"},"hoverEvent":{"action":"show_text","value":"点击关闭火药配方"}}]
execute if score $sire_language sireconfig matches 1 if score $sire_gunpowder sireconfig matches 0 run tellraw @a [{"text":"\u00A7c[关]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/gunpowder"},"hoverEvent":{"action":"show_text","value":"点击开启火药配方"}}]
execute if score $sire_language sireconfig matches 0 run tellraw @a [{"text":"Gunpowder recipe","hoverEvent":{"action":"show_text","value":"sire_gunpowder"}}]
execute if score $sire_language sireconfig matches 0 if score $sire_gunpowder sireconfig matches 1 run tellraw @a [{"text":"\u00A7a[ON]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/gunpowder0"},"hoverEvent":{"action":"show_text","value":"Click disabled gunpowder recipe"}}]
execute if score $sire_language sireconfig matches 0 if score $sire_gunpowder sireconfig matches 0 run tellraw @a [{"text":"\u00A7c[OFF]","clickEvent":{"action":"run_command","value":"/function sire:config/setvalue/gunpowder"},"hoverEvent":{"action":"show_text","value":"Click enabled gunpowder recipe"}}]